<form action="upload" method="POST" enctype="multipart/form-data" >
<input type="text" size="50" name="art_thumb">
<input id="file_upload" name="file_upload" type="file" multiple="true">
{{ csrf_field() }}
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script src="{{asset('resources/views/org/uploadify/jquery.uploadify.min.js')}}" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="{{asset('resources/views/org/uploadify/uploadify.css')}}">
<script type="text/javascript">
    <?php $timestamp = time();?>
    $(function() {
        $('#file_upload').uploadify({
            'buttonText' : '图片上传',
            'formData'     : {
                'timestamp' : '<?php echo $timestamp;?>',
                '_token'     : "{{csrf_token()}}"
            },
            'swf'      : "{{asset('resources/views/org/uploadify/uploadify.swf')}}",
            'uploader' : "{{url('Admin/upload')}}",   //这个是提交图片处理的地址

            'onUploadSuccess' : function(file, data, response) {
                $('input[name=art_thumb]').val(data);
                $('#art_thumb_img').attr('src',data);
                                    /* alert(data);*/
            }
        });
    });
</script>
{{--<style>
    .uploadify{display:inline-block;}
    .uploadify-button{border:none; border-radius:5px; margin-top:8px;}
    table.add_tab tr td span.uploadify-button-text{color: #FFF; margin:0;}
</style>--}}
<button>ok</button>
</form>
<img src="" alt="" id="art_thumb_img" style="max-width: 350px; max-height:100px;">